import { USER } from "./Stores";
import { User } from "./data/User";
import { configure } from "mobx";

configure({enforceActions:true})
/**
 * 创建store
 */
export function createStore() {
  return {
    [USER]: new User("孙士雄")
  };
}
